package com.openlogic.flowable.domain.dto;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @ClassName: FlowProcDefineDto
 * @Description: 流程实例Dto数据交互
 * @author weiyongpeng
 * @date 2025年2月4日 下午1:15:51
 */
@AllArgsConstructor
@Getter
@Setter
public class FlowProcDefineDto implements Serializable {

	private static final long serialVersionUID = 3208598198432928957L;

	@ApiModelProperty("流程id")
	private String id;

	@ApiModelProperty("流程名称")
	private String name;

	@ApiModelProperty("流程key")
	private String flowKey;

	@ApiModelProperty("流程分类")
	private String category;

	@ApiModelProperty("配置表单名称")
	private String formName;

	@ApiModelProperty("配置表单id")
	private Long formId;

	@ApiModelProperty("版本")
	private int version;

	@ApiModelProperty("部署ID")
	private String deploymentId;

	@ApiModelProperty("流程定义状态: 1:激活 , 2:中止")
	private int suspensionState;

	@ApiModelProperty("部署时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date deploymentTime;

}
